package work.linruchang.bean;

/**
 * @author LinRuChang
 * @version 1.0
 * @date 2023/05/17
 * @since 1.8
 **/
public class Personal {

    String name;
    String year;

    public Personal(String name, String year) {
        this.name = name;
        this.year = year;
    }

    public Personal() {
    }

    @Override
    public String toString() {
        return "Personal{" +
                "name='" + name + '\'' +
                ", year='" + year + '\'' +
                '}';
    }

    public String getYear() {
        return year;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
